package com.jflm.domain;

import java.io.Serializable;

/**
 * ******************  类说明  *********************
 * class       :  Iresp_common
 * @author     :  hejinyun@umpay.com
 * @version    :  1.0  
 * description :  接口响应处理公共类
 * @see        :                        
 * ***********************************************
 */
public class Iresp_common<T> implements Serializable{

	private static final long serialVersionUID = 1L;
	private String respCode;
	private String respMsg;
	private T data;
	
	public Iresp_common(){	
		
	}
	
	public Iresp_common(String respCode, String respMsg){
		this.respCode = respCode;
		this.respMsg = respMsg;
	}
	
	public Iresp_common(String respCode, String respMsg, T data){
		this.respCode = respCode;
		this.respMsg = respMsg;
		this.data = data;
	}
	
	public String getRespCode() {
		return respCode;
	}

	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}

	public String getRespMsg() {
		return respMsg;
	}

	public void setRespMsg(String respMsg) {
		this.respMsg = respMsg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "Iresp_common [respCode=" + respCode + ", respMsg=" + respMsg + ", data=" + data + "]";
	}
}
